##
## Makefile for  in /home/morel_t//Rendu/maths/203poisson
## 
## Made by thomas morel
## Login   <morel_t@epitech.net>
## 
## Started on  Tue Mar 20 17:21:05 2012 thomas morel
## Last update Tue Mar 20 19:22:50 2012 florian jousseau
##

NAME	=	203poisson

CC	=	g++
RM	=	rm -f

SRC	=	parser.cpp	\
		loi.cpp		\
		option.cpp	\
		factorial.cpp	\
		main.cpp	\
		graph.cpp

LDFLAGS		+=	-lm
CXXFLAGS	+=	-W -Wall

OBJ	=	$(SRC:.cpp=.o)

$(NAME):	$(OBJ)
	$(CC) -o $(NAME) $(OBJ)  -lsfml-graphics -lsfml-window -lsfml-system

all:	$(NAME)

clean:
	$(RM) $(OBJ)

fclean:	clean
	$(RM) $(NAME)

re:	fclean all

.PHONY:	all clean fclean re